package cn.interestingshop.service.impl;

import cn.interestingshop.dao.OrderInfoDao;
import cn.interestingshop.dao.impl.OrderInfoDaoImpl;
import cn.interestingshop.entity.OrderInfo;
import cn.interestingshop.service.OrderInfoService;
import cn.interestingshop.vo.OrderInfoVo;

import java.util.List;

public class OrderInfoServiceImpl implements OrderInfoService {
    OrderInfoDao dao=new OrderInfoDaoImpl();

    @Override
    public List<OrderInfoVo> selectAll(int baseOrderId) {
        return dao.selectAll(baseOrderId);
    }

    @Override
    public int insert(OrderInfo orderInfo) {
        return dao.insert(orderInfo);
    }
}
